Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Additions to the Standard Movie Controller

mcActionExecuteAllActionsForQTEvent
This allows your application to filter QuickTime events for which the movie has actions. This is sent before any actions are executed. Return true from your filter proc if you do not want the actions to be executed; return false if you do want the actions executed.

The parameter is a ResolvedQTEventSpecPtr . The type of QuickTime event may be determined from the QTAtomSpec portion. The atom is either a kQTEventFrameLoaded atom, or a kQTEventType atom in which case its ID specifies the type of QuickTime event.

mcActionExecuteOneActionForQTEvent
This allows your application to filter individual actions which are about to be executed in response to a QuickTime event. This is sent before the action is executed. Return true from your filter proc if you do not want the action to be executed, return false if you do want the action executed.

The parameter is a ResolvedQTEventSpecPtr . The type of action may be determined from the QTAtomSpec portion. The atom is a kAction atom. The type of action is specified by the leaf data of its child atom of type kWhichAction .

mcActionShowMessageString
This allows your application to receive and display a message from the movie. Currently, the only way this message is sent is by executing a kActionDebugStr action.

The parameter is a StringPtr which contains the message. Although named DebugStr , the action can be used for any type of string-based message.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |